#include <stdio.h>
#include <stdlib.h>
#include <string.h>

void foo (char *p)
{
    printf("p = %s\n",p);
}

void func(char *p)
{
    printf("p = %s\n",p);
    strcpy(p,"China");
}

int main()
{
    char *p = (char *)malloc(200);
    strcpy(p,"1234567");
    func(p);
    foo(p);
    printf("p = %s\n",p);
//    printf("Hello World!\n");
    return 0;
}
